/*
 * Project: com.mmall.user.api
 *
 * File Created at 2019-10-16
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.product.api.service;

import com.common.framework.bo.PageResultBO;
import com.common.framework.dto.PageDTO;
import com.mmall.product.api.bo.ProductBO;
import com.mmall.product.api.bo.ProductDetailBO;
import com.mmall.product.api.dto.ProductDetailDTO;

import java.util.List;
import java.util.Set;

/**
 * @author jianghucoding
 * @date 2019-10-16 22:00
 * @Desc
 */
public interface ProductService {
    PageResultBO<ProductBO> findProducts(PageDTO page);

    ProductDetailBO detail(Long id);

    void createProduct(Long userId, ProductDetailDTO productDetailDTO);

    List<ProductBO> findProducts(Set<Long> productIds);
}
